package com.xiti.student.base.entity.enums;

import com.fasterxml.jackson.annotation.JsonValue;

public enum HandRingMeasureEnum {
    BeyondUplimit(10,"超过最大上限"),
    HigherUplimit(20,"略高于正常上限"),
    Normal(30,"正常"),
    LowerLowLimit(40,"略低于正常下限"),
    BeyondLowLimit(50,"超过最大下限");

    private int value;
    private String desc;

    HandRingMeasureEnum(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return this.value;
    }

    @JsonValue
    public String getDesc(){
        return this.desc;
    }
}
